package com.alcatel_lucent.scalastudy.model

/**
 * Created with IntelliJ IDEA.
 * User: Guoshun Wu
 * Date: 13-7-3
 * Time: 下午8:37
 */

class Animal
trait HasLegs

class Frog extends Animal with Philosophical with HasLegs{
  override def toString = "green"

  override def philosophize(){
    println(s"It ain't easy being $toString!")
  }
}
